#ifndef QSIZEPROPERTY_H
#define QSIZEPROPERTY_H

#include "../../libs/sharedlib/qabstractproperty.h"

class QIntProperty;

class QSizeProperty : public SHAREDLIB::QAbstractProperty
{
    Q_OBJECT
public:
    QSizeProperty(SHAREDLIB::QAbstractProperty *parent=0);

    QWidget*        getEditor();

    QString         valueText();

    void            setValue(const QVariant &value);

protected:
    void            subPropertyChanged(const QVariant &value);
protected:
    QIntProperty    *m_width;
    QIntProperty    *m_height;
};

#endif // QSIZEPROPERTY_H
